﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp_f11
{
    public partial class Form2 : Form
    {
        public int id
        { set; get; }//订单号
        public string commodity
        { set; get; }//商品名称
        public string client
        { set; get; }//客户
        public int money
        { set; get; }//金额
        public double date { set; get; }
        public double time { set; get; }
        public int num { set; get; }
        public Form2()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            id = Convert.ToInt32(textBox1.Text);
            commodity = textBox2.Text;
            client = textBox3.Text;
            money = Convert.ToInt32(textBox4.Text);
            date = Convert.ToDouble(textBox5.Text);
            time = Convert.ToDouble(textBox6.Text);
            num = Convert.ToInt32(textBox7.Text);
            this.Close();
        }
    }
}
